package com.dragon.loan.repository;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.dragon.common.entity.search.Searchable;
import com.dragon.common.repository.mybatis.BaseRepository;
import com.dragon.common.repository.mybatis.MyBatisRepository;
import com.dragon.loan.entity.AcLoanApplyLinkman;

@MyBatisRepository
public interface AcLoanApplyLinkmanRepository extends BaseRepository<AcLoanApplyLinkman, Long>{

	public int deleteLinkman(@Param("loanId") String loanId,@Param("linkmanId") String linkmanId);
	
	public int updateByLinkmanId(AcLoanApplyLinkman acLoanApplyLinkman);
	
	public List<AcLoanApplyLinkman> selectListBySearchable(Searchable searchable);
}
